// 导入自己需要的组件
import {
  Container,
  Aside,
  Menu,
  Submenu,
  MenuItemGroup,
  MenuItem,
  Header,
  Dropdown,
  DropdownMenu,
  DropdownItem,
  Main,
  Table,
  TableColumn,
  Form,
  FormItem,
  Input,
  Button,
  Message,
  Row,
  Col,
  Image,
  Tooltip,
  Dialog,
  Popconfirm,
  Pagination,
  Card
} from 'element-ui'
const element = {
  install: function (Vue) {
    Vue.use(Container)
      .use(Aside)
      .use(Menu)
      .use(Submenu)
      .use(MenuItemGroup)
      .use(MenuItem)
      .use(Header)
      .use(Dropdown)
      .use(DropdownMenu)
      .use(DropdownItem)
      .use(Main)
      .use(Table)
      .use(TableColumn)
      .use(Form)
      .use(FormItem)
      .use(Input)
      .use(Button)
      .use(Row)
      .use(Col)
      .use(Image)
      .use(Tooltip)
      .use(Dialog)
      .use(Popconfirm)
      .use(Pagination)
      .use(Card)

    Vue.prototype.$message = Message
  }
}
export default element
